home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / utils / dos62u.arj / SMART.DOC < prev    next >
Text File  |  1993-11-09  |  9KB  |  189 lines

  1.           SMARTDRIVE OVERHAUL
  2.           
  3.           SMARTDRIVE is a disk cache program that works with
  4.           computers that have extended memory.  A disk cache uses
  5.           a portion of memory to store information that DOS reads
  6.           from disk.  DOS can read the information from the disk
  7.           cache much faster than it can read information from a
  8.           drive.  However, with DOS 6.0 Microsoft had their
  9.           SMARTDRIVE program default to both read caching and write
  10.           caching.  The problem with write caching is that if you
  11.           turned your computer off immediately after quitting a
  12.           program you could potentially lose data.
  13.           
  14.           With DOS 6.2 SMARTDRIVE write caching is turned off by
  15.           default.  If you upgrade to DOS 6.2 from 6.0 and you had
  16.           SMARTDRIVE write cache your drives, then SMARTDRIVE will
  17.           leave write caching turned on.
  18.           
  19.           You can force DOS to immediately write the cached data to
  20.           the hard drive, by typing at the system prompt:
  21.           
  22.                               smartdrv /c <ENTER>
  23.           
  24.           With DOS 6.2 SMARTDRIVE will automatically flush a write
  25.           cached disk before returning you to the system prompt. 
  26.           
  27.           This means it gets the data from memory and writes it to
  28.           the hard drive before you are returned to the system
  29.           prompt.  If you are using DOS at the command line, you
  30.           should always exit your program and return to the DOS
  31.           prompt before you turn your machine off.
  32.           
  33.           With DOS 6.2 they have added a new /X switch to turn off
  34.           write caching for all drives. 
  35.           
  36.           For most people, the SMARTDRIVE line will be in their
  37.           AUTOEXE.BAT file which is a text file that resides on the
  38.           root directory of the start up disk.  See 205 through 208
  39.           in Learning DOS for the Complete Novice, 2nd Edition for
  40.           examples and exact instructions on how to use EDIT to
  41.           selectively turn off write caching.  Those people with
  42.           exotic ("bus-mastering" hard disk controllers) such as
  43.           SCSI, or ESDI, may need to have SMARTDRIVE installed in
  44.           the CONFIG.SYS file.  The CONFIG.SYS file also resides in
  45.           the root directory of your start up disk and can be
  46.           viewed and modified with the DOS EDIT command.  See pages
  47.           209 through 211 in Learning DOS for the Complete Novice,
  48.           2nd Edition, for how to view and modify your CONFIG.SYS
  49.           file. 
  50.           
  51.           With DOS 6.2, you could add the /X switch to turn off
  52.           write caching like so:
  53.           
  54.           SMARTDRV /X
  55.           
  56.           You can also selectively disable write caching by
  57.           following the SMARTDRV command with the letters of your
  58.           hard drives.  Suppose you had hard drives C, D, E, and
  59.           you wanted to disable write caching on these drives.  Use
  60.           the DOS EDIT program to change the SMARTDRV line in the
  61.           AUTOEXEC.BAT file to read the following:
  62.           
  63.           SMARTDRV C D E 
  64.           
  65.           The above line tells DOS to allow read caching while
  66.           disabling write caching for drives C, D, and E. 
  67.           SmartDrive will not cache compressed drives (DoubleSpaced
  68.           drives), however, for increased performance, you can
  69.           cache the host drive.  If you are running DoubleSpace,
  70.           you can get information on all your drives by typing:
  71.           
  72.                               dblspace /i <ENTER>
  73.           
  74.           If you are running DoubleSpace, the above command will
  75.           give you information about all your drives.  It will also
  76.           tell you which drive is your host drive.  Suppose you
  77.           have only one hard drive and are running DoubleSpace. 
  78.           Suppose you typed the above command and found out that
  79.           your DoubleSpace host drive is called H.  If that is the
  80.           case, you can configure SMARTDRIVE to read cache (but not
  81.           write cache) the host drive by changing your SMARTDRIVE
  82.           line in your AUTOEXEC.BAT file to read:
  83.           
  84.           SMARTDRV H  
  85.           
  86.           For more information on exactly how to change your
  87.           AUTOEXEC.BAT file get my book, Learning DOS for the
  88.           Complete Novice, 2nd Edition, and see pages 205 to 208.
  89.           
  90.           SmartDrive will not cache network drives, or RAM drives. 
  91.           
  92.           TIP
  93.           
  94.           If you are running Windows and you have your write
  95.           caching turned off, you will pay dearly.  Windows will
  96.           crawl.  You may find that it is better to have SMARTDRIVE
  97.           cache your hard drives and take the small risk of losing
  98.           data.  Windows can be very disk intensive.  If you cache
  99.           your hard drives, it really speeds things up.  
  100.           
  101.            With DOS 6.2, SMARTDRIVE will read cache CD-ROM drives. 
  102.           This is a very nice feature because CD-ROM drives are
  103.           often too slow.  Caching should help performance.
  104.                     
  105.           If you want to see which drives SMARTDRV is caching, at
  106.           the system prompt type:
  107.           
  108.                               smartdrv <ENTER>
  109.           
  110.           
  111.           TIP
  112.           
  113.           If after typing SMARTDRV <ENTER>, you notice that your
  114.           CD-ROM drive is not being cached there may be a perfectly
  115.           logical reason.  The line which loads the MSCDEX program
  116.           needs to be loaded BEFORE the SMARTDRV line.   
  117.           
  118.           To see how to modify an AUTOEXEC.BAT or CONFIG.SYS file
  119.           see Learning DOS for the Complete Novice, 2nd Edition. 
  120.           For most people the line that loads the MSCDEX program
  121.           (for the CD-ROM) and SMARTDRV (disk cache) will be in the
  122.           AUTOEXEC.BAT file.  The AUTOEXEC.BAT file resides in the
  123.           root directory of the start up disk (usually drive C). 
  124.           
  125.           
  126.           EXOTIC HARD DRIVES 
  127.           
  128.           If you are one of those people who have an exotic "bus
  129.           mastering" hard drive controller, you may need to have
  130.           SMARTDRIVE load in the CONFIG.SYS file.  For specific
  131.           instructions on how to modify a CONFIG.SYS file look in
  132.           Learning DOS for the Complete Novice, 2nd edition.  Try
  133.           using the following line in the CONFIG.SYS file:
  134.           
  135.           DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  136.           
  137.           The above SMARTDRIVE command needs to come before the
  138.           DEVICE command that loads EMM386.  Note that when in the
  139.           CONFIG.SYS file, SMARTDRV.EXE is used.  Remember, before
  140.           an AUTOEXEC.BAT or CONFIG.SYS start up file can take
  141.           effect, you must reboot your machine.  After you reboot
  142.           type:
  143.                               smartdrv <ENTER>
  144.           
  145.           With the above DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
  146.           line in your CONFIG.SYS file the SMARTDRV <ENTER> command
  147.           will load SMARTDRIVE into upper memory.  After you do
  148.           that you can type the following:
  149.           
  150.                               smartdrv /s <ENTER>
  151.           
  152.           Here, the /S stands for Status.  A table will appear on
  153.           your screen that looks something like:
  154.           
  155.                        DISK CACHING STATUS
  156.           
  157.           drive    read cache    write cache    buffering
  158.             A:        yes            no            no
  159.             B:        yes            no            no
  160.             C:        yes            yes           no   
  161.             S:        yes            no            no
  162.           
  163.           Look in the column that says buffering.  If all the
  164.           entries say no then your hard drive does not need this
  165.           Double Buffering and you would be better off taking the
  166.           SMARTDRIVE line out of your CONFIG.SYS file and just
  167.           using a SMARTDRV line in your AUTOEXEC.BAT file.  This
  168.           Double Buffering business makes SMARTDRIVE operate
  169.           slower.  So, if your hard drive can support SMARTDRV in
  170.           the AUTOEXEC.BAT file, you will be better off.
  171.           
  172.           If you want more information about the DOS 6.2 SMARTDRIVE
  173.           program type:
  174.           
  175.                               help smartdrv <ENTER>
  176.           
  177.           Of course, you will have to have DOS 6.2 installed.  If
  178.           you need any help on using the excellent DOS HELP see
  179.           pages 192 - 194 in Learning DOS for the Complete Novice,
  180.           2nd Edition.
  181.           
  182.           
  183.           TIP
  184.           
  185.           If you are using DOS at the command line, you should
  186.           always exit your program and return to the DOS prompt
  187.           before you turn your machine off.  Make sure the rest of
  188.           the family knows this, too.
  189.